﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" EnableViewState="true" AutoEventWireup="true" CodeBehind="NewCliente_Pagamento.aspx.cs" Inherits="AcademiaInteligenteWeb.NewCliente_Pagamento" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Cliente_Pagamento
    </h1>
    <asp:UpdatePanel runat="server">
        <ContentTemplate>
            <div id="formulario">
                <table>
                    <tr>
                        <td>Academia</td>
                        <td>
                            <asp:TextBox runat="server" ID="txt_academia" />
                        </td>
                    </tr>
                    <tr>
                        <td>Cliente</td>
                        <td>
                            <asp:DropDownList ID="ddlCliente" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlCliente_SelectedIndexChanged" />
                        </td>
                    </tr>
                    <tr>
                        <td>Data de Vencimento</td>
                        <td>
                            <asp:TextBox CssClass="form-control tooltipfield required isDate" title="Data do vencimento" runat="server" ID="txtdata_vencimento" />
                        </td>
                    </tr>
                    <tr>
                        <td>Data de Pagamento</td>
                        <td>
                            <asp:TextBox CssClass="form-control tooltipfield required isDate" title="Data do pagamento" OnTextChanged="txtdata_pagamento_TextChanged" runat="server" ID="txtdata_pagamento" />
                        </td>
                    </tr>
                    <tr>
                        <td>Saldo A Pagar</td>
                        <td>
                            <asp:TextBox title="saldo devedor" runat="server" ID="txt_saldoAPagar" />
                        </td>
                    </tr>
                    <tr>
                        <td>Valor Pago</td>
                        <td>
                            <asp:TextBox runat="server" ID="txtValorPago" OnTextChanged="txtValorPago_TextChanged" AutoPostBack="true" />
                        </td>
                    </tr>

                    <tr>
                        <td>Valor do desconto</td>
                        <td>
                            <asp:TextBox runat="server" ID="txt_saldoAPagarComDesconto" AutoPostBack="true" />
                        </td>
                    </tr>

                     <tr>
                        <td>Valor com o desconto</td>
                        <td>
                            <asp:TextBox runat="server" ID="txtValorComDesconto" AutoPostBack="true" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: right;">
                            <asp:Button ID="btnSalvar" Text="Salvar" runat="server" OnClick="btnSalvar_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td></td>
                        <td>
                            <asp:Label runat="server" ID="lbAviso" />
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
